/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


package frc2856.robot;

import edu.wpi.first.wpilibj.SpeedController;
import edu.wpi.first.wpilibj.ADXL345_I2C;
import edu.wpi.first.wpilibj.ADXL345_I2C.Axes;
import com.sun.squawk.util.MathUtils;
import edu.wpi.first.wpilibj.Solenoid;

/**
 *
 * @author Dustin Doss
 * Helped by Shankar
 */
public class Aiming { //Vertical adjustment for aiming
    Solenoid solA, solB;
    HolonomicDrive drive;
    
    public Aiming(Solenoid sA, Solenoid sB, HolonomicDrive hd){
        solA = sA;
        solB = sB;
        drive = hd;
    }
    
    public void adjustAngle(double degrees){
        
    }
    
    
    
    // not in autonomous because auto aim will be a facility used in both
    // autonomous and teleoperated modes
    public void autoAim(){ //should be in autonomous?
        
    }
    
    public void vertDirect(boolean on, boolean up){
        
    }
    
    public void raise(){
        solA.set(true);
        solB.set(false);
    }
    
    public void lower(){
        solA.set(false);
        solB.set(true);
    }
    
}